package com.geyb.util;

import java.util.List;

import com.geyb.domain.TypeConfig;

public class GetSeriesByList {
	public static String getSeries(List<TypeConfig> tList) {
		StringBuffer rBuff = new StringBuffer();
		String temp = tList.get(0).getType();
		for(TypeConfig tConfig : tList) {
			if(temp.equals(tConfig.getType())){
				rBuff.append("0");
			}else{
				rBuff.append("1");
			}
		}
		return rBuff.toString();
	}
}
